<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><%= htmlWebpackPlugin.options.title%></title>
</head>
<body>
    <div>
        <!-- 注释：我是一个模板 -->
        <div id="root"></div>
        <%for(let i=0;i < htmlWebpackPlugin.options.arr.length;i++){%>
        <h3><%=htmlWebpackPlugin.options.arr[i]%></h3>
        <%}%>
        <p>html-webpack-plugin插件应用</p>
    </div>
</body>
</html>